//package com.yfp.tissue.mapper;
//
//import com.yfp.tissue.domain.domain.AlipayInfo;
//import com.yfp.tissue.domain.domain.Company;
//import Dto.domain.com.yfp.tissue.CompanyDto;
//import com.yfp.tissue.domain.domain.WxpayInfo;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.factory.Mappers;
//
//@Mapper(componentModel = "spring")
//public interface EntityMapper {
//
//    @Mapping(source = "companyId", target = "companyId")
//    @Mapping(source = "name", target = "name")
//    @Mapping(source = "parentId", target = "parentId")
//    @Mapping(source = "address", target = "address")
//    @Mapping(source = "contacts", target = "contacts")
//    @Mapping(source = "mobile", target = "mobile")
//    @Mapping(source = "legalPerson", target = "legalPerson")
//    @Mapping(source = "lglPsnMobile", target = "lglPsnMobile")
//    @Mapping(source = "contractBeginDate", target = "contractBeginDate")
//    @Mapping(source = "contractEndDate", target = "contractEndDate")
//    @Mapping(source = "manageLicence", target = "manageLicence")
//    @Mapping(source = "bizLicence", target = "bizLicence")
//    @Mapping(source = "enabled", target = "enabled")
//    @Mapping(source = "longitude", target = "longitude")
//    @Mapping(source = "latitude", target = "latitude")
//    @Mapping(source = "createTime", target = "createTime")
//    @Mapping(source = "updateTime", target = "updateTime")
//    @Mapping(source = "isDelete", target = "isDelete")
//    @Mapping(source = "paymentCode", target = "paymentCode")
//    @Mapping(source = "cooperationMode", target = "cooperationMode")
//    @Mapping(source = "bizLicenceEndTime", target = "bizLicenceEndTime")
//    @Mapping(source = "bizLicenceBeginTime", target = "bizLicenceBeginTime")
//    @Mapping(source = "longTerm", target = "longTerm")
//        // 其他属性的映射
//    Company companyToDto(CompanyDto domain);
//    @Mapping(source = "companyId", target = "companyId")
//    @Mapping(source = "wxMchId", target = "wxMchId")
//    @Mapping(source = "apiSecret", target = "apiSecret")
//    @Mapping(source = "certPath", target = "certPath")
//    @Mapping(source = "createTime", target = "createTime")
//    WxpayInfo wxpayToDto(CompanyDto domain);
//    @Mapping(source = "appId", target = "appId")
//    @Mapping(source = "aliPublicKey", target = "aliPublicKey")
//    @Mapping(source = "appPrivateKey", target = "appPrivateKey")
//    @Mapping(source = "companyId", target = "companyId")
//    @Mapping(source = "createTime", target = "createTime")
//    AlipayInfo alipayToDto(CompanyDto domain);
//}
